package com.ibm.parse.controller;

import java.util.ArrayList;
import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.ibm.parse.service.NJBankParseService;

import net.sf.json.JSONArray;
/**
 * 一句话测试controller
 * @author HQD
 *
 */
@Controller
public class ParseTestController {
	@Autowired
	private NJBankParseService nJBankParseService;
	@RequestMapping(value = { "/parseTest" }, method = { org.springframework.web.bind.annotation.RequestMethod.GET })
	@ResponseBody
	public void Test(){
		List<Map<String, Object>> list = new ArrayList();
		list = this.nJBankParseService.queryOneDescribeList();
		for(Map map : list){
			this.nJBankParseService.updateTest(map);
		}
	}
}
